@charset "utf-8";
@function p($px) {
    @return $px/2*1px;
}

//ip4
@media only screen and (max-height:480px) {
    body {
        
        .indexM {
            
            .slide {
                
                .imgBox {
                    img {
                        transform: scale(0.8);
                        margin-top: p(10);
                    }
                }
            }
            .xuanxiang {
                margin-top: p(-88);
            }
        }
    }
}

// IP5
@media only screen and (min-height:568px) and (max-height:666px) {
    body {
        .indexM {
            transform: scale(1);
        }
    }
}

// IP6
@media only screen and (min-height:667px) and (max-height:735px) {
    body {
        transform: scale(1);
    }
}

// IP6PL
@media only screen and (min-height:736px) {
    .indexM {
        transform: scale(1);
    }
}